package c.c.k.repository;

import c.c.k.emums.JYSEnum;
import c.c.k.pojo.Stock;
import c.c.k.pojo.StockBase;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by chenck on 2022/3/19.
 */
@Repository
public interface StockBaseRepository extends JpaRepository<StockBase, Long> {
    StockBase findByCode(String code);

    List<StockBase> findAllByShiZhiGreaterThan(Double shiZhi);

    List<StockBase> findAllByJys(String jys);
}
